<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
          "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">
<head>
<title>Facelets Example</title>
</head>

<body>
	
	<div style="border-bottom: grey 2px solid; border-left: grey 2px solid; border-right: grey 2px solid; border-top: grey 2px solid; height: 100%; margin: 4px auto; text-align: center; width: 100%;">
		<ui:insert name="header">
		       <ui:include src="header.xhtml" />
		</ui:insert></div>
		<table width="100%" >
		        <tr>
		                <td width="20%">
		                <div style="height: 250px; width: 100%; background-color: #e0e0e0; text-align: center;">
		                 <br></br>
		                 
		                 <!-- this named sidemenu part can be replaced on
		                 the actual page which implements this template
		                   -->
		                <ui:insert name="sidemenu">
		                <h:form>
		                         <h:commandLink value="Home"></h:commandLink>
		                         <br />
		                         <br />
		                         <h:commandLink value="News"></h:commandLink>
		                         <br />
		                         <br />
		                         <h:commandLink value="Articles"></h:commandLink>
		                         <br />
		                         <br />
		                         <h:commandLink value="About Us"></h:commandLink>
		                         <br />
		                         <br />
		                 </h:form>
		                 </ui:insert></div>
		                 </td>
		                 <td width="85%">
		                  <!-- this named content part can be replaced on
		                 the actual page which implements this template
		                   -->
		                 <ui:insert name="content">Content displayed from Template </ui:insert>
		                 </td>
		                 </tr>
		</table>
		<div style="border-bottom: grey 2px solid; border-left: grey 2px solid; border-right: grey 2px solid; border-top: grey 2px solid; height: 100%; margin: 4px auto; text-align: center; width: 100%;">
		<ui:insert name="footer">
		       <ui:include src="footer.xhtml" />
		</ui:insert>
	
	</div>

</body>

</html>
